<template>
  <div>
    <h1>欢迎光临考试系统</h1>
    <p>登录账号为：{{ username }}</p>
    <p class="p1">您的身份为：{{ role }}</p>
  </div>
</template>

<script>
export default {
  props: {
    username: {
      type: String,
      default: "小哈",
    },
    role: {
      type: String,
      default: "管理员",
    },
  }
}
</script>

<style scoped>
h1 {
	font-size: 47px;
	color: #949494;
  margin-left: 189px;
  margin-top: 91px;
}
p {
	color: #949494;
	font-size: 25px;
  margin-left: 189px;
  margin-top: 140px;
}
.p1 {
	color: #949494;
	font-size: 25px;
  margin-left: 189px;
  margin-top: 15px;
}
</style>
